<form action="<?=$this->url()?>" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this, IG.navTabAjaxDone)">
<input type="hidden" value="<?=$this->detail->employee_id?>" name="employee_id">
    <div class="pageFormContent">
        <dl class="nowrap">
            <dt>账号名称:</dt>
            <dd>
                <input type="text" <?=$this->detail->name ? 'class="readOnly" readOnly="readOnly"' : 'class="required"'?> value="<?=$this->detail->name?>" id="name" name="name" maxlength="30">
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>登陆密码:</dt>
            <dd><input type="password" <?=$this->detail->password ? '' : 'class="required"'?> value="" id="password" name="password" maxlength="32">
            </dd>
        </dl>

        <dl class="nowrap">
            <dt>所属部门:</dt>
            <dd>
            <?=$this->dwzSelect('department_id', $this->detail->department_id, null, $this->department)?>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>真实姓名:</dt>
            <dd><input class="required" type="text" value="<?=$this->detail->real_name?>" id="real_name" name="real_name" maxlength="10">
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>账户邮箱:</dt>
            <dd><input class="required" type="text" value="<?=$this->detail->email?>" id="email" name="email" maxlength="30">
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>状态:</dt>
            <dd>
            <?=$this->formRadio('status',
                                $this->detail->status,
                                null,
                                array(1 => '启用', 0 => '未启用', 2 => '锁定', 3 => '禁用'),
                                '');
            ?>
            </dd>
        </dl>
        <div class="divider"></div>


</div>
<div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
            </ul>
        </div>
</form>